package com.bosssoft.rbac.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bosssoft.rbac.domain.SysRole;

/**
 * @ProjectName boss-rbac
 * @Description TODO
 * @author MaYunFei
 * @time 2022/7/5 19:26
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {
    /**
     * 获取用户角色Code的实现
     * @param userId
     * @return
     */
    String getUserRoleCode(Long userId);
}